#ifndef DOOR_H
#define DOOR_H

#include "GameObject.h"
#include "Player.h"

class Door : public GameObject
{
public:
	Door(int x, int y);
	Door(int x, int y, Player::InventoryItem keyType);
	virtual ~Door();

	virtual void handleCollision(GameObject* gameObject);
	virtual bool isPassable(const GameObject* gameObject) const;

	virtual void setDrawColor() const {setColor(1.0f, 1.0f, 1.0f);}
	virtual void drawObject(int row, int col) const;

protected:
	Player::InventoryItem keyType;
};

#endif